package com.hirsi.module.role.vo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel("角色列表")
@Data
public class RoleResult {

    @ApiModelProperty("角色id")
    private Integer id;

    @ApiModelProperty(value = "角色编码", position = 1)
    private String code;

    @ApiModelProperty(value = "角色名称", position = 2)
    private String name;

    @ApiModelProperty(value = "账号数量", position = 3)
    private Integer accountNum;

    @ApiModelProperty(value = "状态：0-正常，1-禁用", position = 4)
    private Integer status;

    @ApiModelProperty(value = "创建时间", position = 5)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人", position = 6)
    private String createBy;
}
